Using np.diagflat only along second dimension

welcome to shbcf.ru